package com.sz.admin.pendingpost.service;

import com.mybatisflex.core.service.IService;
import com.sz.admin.pendingpost.pojo.po.PendingPost;
import com.sz.core.common.entity.SelectIdsDTO;
import com.sz.core.common.entity.PageResult;
import java.util.List;
import com.sz.admin.pendingpost.pojo.dto.PendingPostCreateDTO;
import com.sz.admin.pendingpost.pojo.dto.PendingPostUpdateDTO;
import com.sz.admin.pendingpost.pojo.dto.PendingPostListDTO;
import com.sz.admin.pendingpost.pojo.vo.PendingPostVO;
import com.sz.core.common.entity.ImportExcelDTO;
import jakarta.servlet.http.HttpServletResponse;

/**
 * <p>
 * 待审核帖子记录 Service
 * </p>
 *
 * @author sz-admin
 * @since 2025-06-30
 */
public interface PendingPostService extends IService<PendingPost> {

    void create(PendingPostCreateDTO dto);

    void update(PendingPostUpdateDTO dto);

    PageResult<PendingPostVO> page(PendingPostListDTO dto);

    List<PendingPostVO> list(PendingPostListDTO dto);

    void remove(SelectIdsDTO dto);

    PendingPostVO detail(Object id);

    void importExcel(ImportExcelDTO dto);

    void exportExcel(PendingPostListDTO dto, HttpServletResponse response);
}